package com.dragon.graduation.userRole.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.generator.CommonBean;
import lombok.*;

/**
* <p>
* 用户角色表 实体类
* </p>
*
* @author dragon
* @since 2025-02-28 21:23:58
*/

@TableName("db_user_role")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public class UserRoleEntity extends CommonBean {
    /**
     * 角色id
     */
    @TableField("role_id")
    private Integer roleId;
    /**
     * 用户id
     */
    @TableField("user_id")
    private Integer userId;
}